SavePasswordCallback

public interface SavePasswordCallback implements BrowserAsyncCallback<P, R>

A callback that is invoked when the user is prompted to save the credentials in the password store.

This callback is equivalent to the "Save Password?" bubble in Chromium.

The callback is invoked when the user submits a new web form (a form that has never been submitted before) or submits the web from with a new login value.

Use the save method to save these login and password in the password store. Stored credentials will be shown next time in the suggestions pop-up when focusing the input associated with login or password.

Use the neverSave method to blacklist password forms on this URL. Then the callback will never be invoked again until you remove this blacklisted record from the password store.

Use the ignore method to ignore the suggestion to save the login and password in the password store. The callback will be invoked again if this or another web form is submitted on the same URL.

The prerequisites for the callback invocation:

  • The login and password should not be empty.
  • The scheme should be web-safe. The list of web-safe schemes: HTTP, HTTPS, WS, and WSS.
  • The profile should not be incognito.
  • The valid SSL certificate is used.
  • A positive server response on the web form submission.

Since

7.20

Inheritors

Types

Link copied to clipboard
public final class Action extends AsyncCallbackAction<R>
An action providing a response to the SavePasswordCallback.
Link copied to clipboard
public interface Params
The parameters of the SavePasswordCallback.

Functions

Link copied to clipboard
public abstract void on(P params, R tell)
Invoked when the callback needs a response for the given callback parameters.